import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
// 重置各个浏览器的库
import 'normalize.css'
// 入口文件: 支持导入less文件, 但是不支持解析变量及方法
import '@/assets/styles/common.less'
import router from '@/router'
import XtxUI from './components'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
app.use(XtxUI)
app.use(router)
app.use(pinia)
app.mount('#app')

// createApp(App).mount('#app')
